import Vue from 'vue'
import Router from 'vue-router'
import Hello from '@/components/Hello'

Vue.use(Router)

export default new Router({
  routes: [
	  {
		  path: '/',
		  name: 'Hello',
		  component: Hello
	  },
	  {
		  path: '/editor',
		  name: 'Editor',
		  component: require('@/components/Editor')
	  },
	  {
		  path: '/tree',
		  name: 'Tree',
		  component: require('@/views/Tree')
	  },
	  {
		  path: '/main',
		  name: 'main',
		  component: require('@/views/main')
	  },
	  {
		  path: '/loading',
		  name: 'main',
		  component: require('@/views/loading')
	  }
  ]
})
